#ifndef SERIALPORTSETDLG_H
#define SERIALPORTSETDLG_H

#include <QDialog>

namespace Ui {
class SerialPortSetDlg;
}

class SerialPortSetDlg : public QDialog
{
    Q_OBJECT
    
public:
    explicit SerialPortSetDlg(QWidget *parent = 0);
    ~SerialPortSetDlg();
    
public slots:
    void setAndOpenSerialPort();

    void searchSerialPort(bool checked);

    void closeSerialPort();

    void openKNXSerialPort(bool checked);
private:
    Ui::SerialPortSetDlg *ui;

    void closeEvent(QCloseEvent *event);
};

#endif // SERIALPORTSETDLG_H
